#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_list_operate.py
# author:wmf
# datetime:2021/3/8 15:06
# software: PyCharm
'''
this is function description
'''
# import module your need

from random import randint

#练习1
score = [randint(60,100) for _ in range(10)]
max_score = max(score)
min_score = min(score)
print(score)
print(max_score)
print(min_score)

total_score = 0

for i in score:
    total_score += i

print(total_score)
# print(sum(score))
print(total_score/10)

# score = [80,85,70,75,65,100,95,90,76,93]
# print(max(score))
# print(min(score))

#练习2
score1 = [randint(60,100) for _ in range(5)]
print(score1)
score1.sort()
print(score1)
for i in score:
    score1.append(i)
print(score1)
